package com.reborn.mall.api.model.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.util.Date;

/**
 * app用户表-实体类
 *
 * @author wu.yue
 * @since 2020/2/29
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@Table(name = "ums_app_user")
public class AppUser extends BaseEntity {
    private String username;

    private String password;

    private String avatar;

    private String email;

    private String nickName;

    private String note;

    private Date createTime;

    private Date loginTime;

    private Integer status;

    public AppUser(String username) {
        this.username = username;
    }
}
